/*
 * CategoryContract.java
 * business
 *
 * Created by SunDing on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.main.category;

import com.yidiandao.business.base.BasePresenter;
import com.yidiandao.business.base.BaseView;
import com.yidiandao.business.interfaces.RefreshLayoutStateListener;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;

import java.util.List;

/** 首页 分类 */
public class CategoryContract {

    interface Presenter extends BasePresenter {

        void setData(int position);

        void getData();
    }

    interface View extends BaseView<Presenter>, RefreshLayoutStateListener {

        void setCategoryBrand(List<DisplayListItem> disPlayListItems);

        void setCategoryInfo(List<DisplayListItem> disPlayListItems);

        void refreshUI();
    }
}
